package com.ruoyi.daily.mapper;

import com.ruoyi.daily.domain.dto.BranchWorkOrderDto;
import com.ruoyi.daily.domain.dto.DeliveryDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.Map;

/**
 * @Author cmz
 * @Date 2024-06-03 10:21
 */
@Mapper
public interface MonitoringStationMapper {
    Integer selectFalseReceipt();

    Integer selectProcessingCount();

    Integer selectUnRecovered();

    Integer selectNetworkProcessing();

    /**
     * 揽收状态为未揽收，并且揽收截止时间在当前时间之后的为待揽收
     * @return
     */
    Integer selectNetworkPendingCollection();

    Integer selectMyProcessing();

    Double lossRate(Date lessDate);

    Double selectDamageRate(Date date);

    Double selectCallRate(Date lessDate);

    DeliveryDto selectDelivery(Date lessDate);
}
